﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace LearningCompany.WebControls.Popup
{
    public partial class MessageUtilisateur : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        public void EcrireMessageInformatif(string aMessage)
        {
            ImgTypeMessage.ImageUrl = "~/Ressources/MessagesUtilisateurs/Information.png";
            TxtMessage.Value = aMessage;
        }

        public void EcrireMessageErreur(string aMessage)
        {
            ImgTypeMessage.ImageUrl = "~/Ressources/MessagesUtilisateurs/Erreur.png";
            TxtMessage.Value = aMessage;
        }
    }
}